How to Schedule Shutdown on Windows 10 & 11 您所在的位置:网站首页 click shut How to Schedule Shutdown on Windows 10 & 11

How to Schedule Shutdown on Windows 10 & 11

2024-07-10 10:45| 来源: 网络整理| 查看: 265

Want to auto shutdown Windows at a specific time? Here’s how to schedule a shutdown in Windows using the built-in shutdown timer.

Windows provides multiple ways to shut down the system. For instance, you can right-click the Start menu and choose “Shut down or sign out > Shut down.” For most users, the default shutdown option is good enough. However, what if you want to auto shut down Windows on schedule, i.e., schedule a shutdown?

Given the deep options in Windows OS, you’d think there is a built-in option. However, no matter how much you search within the Windows settings, you will not find any option to schedule a shutdown. That doesn’t mean you cannot do it. You have to dig deeper or be a bit creative.

There are two methods to auto shutdown Windows on schedule. The first method is helpful to set a temporary and single-use shutdown timer. The second method is useful to auto shutdown Windows at a specific time regularly, like when you go to sleep.

I will show both methods; use the one depending on your use case. Without further ado, here is how to schedule a shutdown in Windows.

Table of contents:

Command to schedule shutdownScheduled Shutdown with Task Scheduler

The steps below work the same in Windows 10 and 11.

Command to schedule shutdown in Windows

Though Windows has no visible option, you can schedule and auto shutdown Windows with a single PowerShell or Command Prompt command.

This method is helpful when you have to set a shutdown timer to auto shutdown Windows spontaneously. For instance, you can use this tip to limit how long your children can use the system.

Here’s the command to schedule a shutdown in Windows.

Right-click the Start menu icon.Choose “Windows Terminal.”Use the below command while replacing “timeInSeconds” with the actual number of seconds.shutdown -s -t timeInSecondsClose the terminal window.With that, you scheduled a shutdown in Windows.

Steps with more details:

To set a Windows shutdown timer, search for PowerShell or Command Prompt and open it. I’m using PowerShell, but you can use Command Prompt too. In Windows 10 and 11, you can use the Windows Terminal.

In the PowerShell or Command Prompt window, execute the below auto shutdown command. Replace “timeInSeconds” with the number of seconds.

shutdown -s -t timeInSeconds

For example, if you want to auto shutdown Windows after 60 minutes, then the command will be shutdown -s -t 3600.Schedule shutdown - execute shutdown timer command

As soon as you execute the command, Windows will schedule a shutdown and displays a notification of the same.Schedule shutdown - shutdown timer confirmation

Once the timer runs out, it will display a warning asking you to save your work as the system is shutting down in a few seconds. There will be no cancelation option to abort the shutdown.

Scheduled Shutdown with Task Scheduler

If you want Windows to automatically shut down at a specific time every day or regular intervals, then you can schedule a shutdown using Task Scheduler. Here is how to do it in simple steps.

Press the “Start” key.Search and open “Task Scheduler.”Click “Create basic task.”Type a name in the “Name” field.Press “Next.”Choose a “Trigger.”Press “Next.”Configure the trigger.Press “Next.”Type “shutdown.exe” in the “Program/script” field.Type “/s” in the “Add arguments” field.Press “Next.”Press “Finish.”Close the Task Scheduler.With that, you scheduled a shutdown with the task scheduler.

Steps with more details:

Search for “Task Scheduler” in the start menu and open it.Open task scheduler

Click the “Create basic task” option in the Task Scheduler main window.Schedule shutdown - create basic task

In the task creation wizard, enter a meaningful name & description, and click “Next.”Schedule shutdown - name task

Now select how often you want to repeat the task. In my case, I want to shut down my system daily. So, I chose the Daily option. You can select whatever option you want.Schedule shutdown - select frequency

Enter the time and click “Next.” Since I want to shut down the system at 11 PM, I’ve entered the appropriate time.

Note: If you use a 12-hour clock, don’t forget to select AM or PM. If you use a 24-hour clock, enter the time in 24-hour format, as shown in the image below.Schedule shutdown - enter time

Here, enter shutdown.exe in the “Program/Script” field and /s in the “Add Arguments” field. Click “Next” to continue.Schedule shutdown - select program and arguments

Click “Finish” to complete the procedure.Schedule shutdown - preview task

Once the task has been created, you will see it ready to be executed in the Task Scheduler. The task will be executed, and the system will shut down on schedule according to your settings.Schedule shutdown - task created

If you want to test the scheduled task, save all your work, right-click on the task and choose “Run.”

That’s it. It is that simple to make Windows scheduled shutdown.

Read more: How to rename scheduled tasks in Task Scheduler on Windows

In the future, if you no longer want Windows to auto shutdown, right-click on the task and select “Disable.” This action will disable the task. If need be, you can even delete the task by selecting the “Delete” option.Schedule shutdown - disable task

Oh, in case you are wondering, you can also cancel the scheduled shutdown on Windows. Follow the linked Windows guide to learn how.

I hope this simple and easy Windows how-to guide helped you.

If you are stuck or need some help, send an email, and I will try to help as much as possible.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有